﻿<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml" >
<head>
    <title>Untitled Page</title> 
    <script type="text/javascript" src="JQueryScripts/jquery-1.3.min.js"></script>
    <script type="text/javascript" src="JQueryScripts/Plugins/jquery.form.js"></script> 
    <script type="text/javascript"> 
        // wait for the DOM to be loaded 
        $(document).ready(function() { 
            // bind 'myForm' and provide a simple callback function 
            $('#myForm').ajaxForm(function() { 
                alert("Thank you for your comment!"); 
            }); 
        }); 
    </script> 
</head>
<body>
<form id="myForm" action="exAjax_Content.aspx" method="post">
    Name:
    <input type="text" name="name" />
    Comment:
    <textarea name="comment"></textarea>
    <input type="submit" value="Submit Comment" />
    </form>
</body>
</html>